package net.xgclass.online_xgclass.service;

import net.xgclass.online_xgclass.model.entity.VideoOrder;
import net.xgclass.online_xgclass.model.request.VideoOrderAndUser;

import java.util.List;

public interface VideoOrderService {


    int save(int userId, int videoId);

    List<VideoOrder> listOrderByUserId(Integer userId);

    List<VideoOrderAndUser> listOrder(String byname);

    int delOrderById(Integer id);
}
